package com.rohan.apps.mileagetracker.shared.service;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

import com.rohan.apps.mileagetracker.server.db.locators.DaoServiceLocator;
import com.rohan.apps.mileagetracker.server.db.service.AppUserDao;

import com.rohan.apps.mileagetracker.shared.proxies.AppUserProxy;
@Service(value = AppUserDao.class, locator = DaoServiceLocator.class)
public interface AppUserRequest extends RequestContext {
	public Request<AppUserProxy> getUser();
	public Request<Void> saveUserInfo(AppUserProxy user);
	public Request<AppUserProxy>LogIn(String appUrl);
}
